import java.util.Date;


public class SuppressWarningExample {
	
	private final static int START_YEAR = 1900;
	
	@SuppressWarnings("deprecation")
	private static void showDate(Date date) {
		System.out.println(START_YEAR + date.getYear() + "." + date.getMonth() + "." + date.getDate());
	}
	
	public static void main(String[] args) {
		showDate(new Date());
	}
}
